<template>
  <div class="guest-box">
    <div class="guest-item">
      <div class="guest-img">
        <div class="img-title">{{ detail.title }}主题婚礼</div>
        <div class="img-content">
          <img :src="detail.imgUrl" alt="" />
        </div>
      </div>
      <div class="guest-btn">
        <div @click="goDetail">预约有礼</div>
        <div style="margin-bottom: none">免费咨询</div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  props: ["detail"],
  data() {
    return {};
  },
  mounted() {},
  computed: {},
  methods: {
    goDetail() {
      this.$router.push("/reservation");
    },
  },
};
</script>
<style scoped lang="less">
.guest-box {
  width: 100%;
  .guest-item {
    display: flex;
    align-items: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    box-sizing: border-box;
    padding-left: 130px;
    width: 1080px;
    height: 538px;
    box-sizing: border-box;
    .guest-img {
      width: 710px;
      height: 100%;
      margin-right: 60px;
      display: flex;
      align-items: center;
      flex-direction: column;
      .img-title {
        font-weight: 500;
        font-size: 30px;
        color: #010101;
        margin-bottom: 20px;
      }
      .img-content {
        width: 710px;
        height: 420px;
        background: tan;
        img {
          width: 100%;
          height: 100%;
        }
      }
    }
    .guest-btn {
      div {
        background: #f1716d;
        color: #fff;
        padding: 0 10px;
        margin-bottom: 40px;
      }
    }
  }
}
</style>
